﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace BartonExtension
{
    public class ConfigurationExtensions
    {
        public static string ValueOfConfig(string key)
        {
            return ConfigurationManager.AppSettings[key];
        }

        public static void SetValueForKey(string key,string value)
        {
            ConfigurationManager.AppSettings[key] = value;
        }
    }
}
